import { Component } from '@angular/core';

@Component({
  selector: 'app-angular-day6-parent',
  templateUrl: './angular-day6-parent.component.html',
  styleUrl: './angular-day6-parent.component.css'
})


export class AngularDay6ParentComponent {
  parentMessage = 'message from parent';
  DataFromChild = "";
  getData(event : string){
    alert(event);
    this.DataFromChild = event;
  }
}
